.Slider-wrapper {
  position: relative;
}

.Slider-wrapper--vert {
  transform: rotate(-90deg);
}

.Slider {
  position: relative;
  width: 100%;
  -webkit-appearance: none;
  &:focus {
    outline: 0;
  }
  &::-webkit-slider-runnable-track {
    background-color: var(--color-background);
    width: 100%;
    height: 3px;
  }
  &::-webkit-slider-thumb {
    background-color: var(--color-background-lightest);
    border: 2px solid var(--color-background-lightest);
    border-radius: 100%;
    margin-top: -8px;
    width: 18px;
    height: 18px;
    -webkit-appearance: none;
    -webkit-app-region: no-drag;
  }
}

.Slider--blue {
  &::-webkit-slider-thumb {
    background-color: var(--color-long-round);
    border: 2px solid var(--color-long-round);
    -webkit-app-region: no-drag;
  }
}

.Slider--green {
  &::-webkit-slider-thumb {
    background-color: var(--color-short-round);
    border: 2px solid var(--color-short-round);
    -webkit-app-region: no-drag;
  }
}

.Slider--red {
  &::-webkit-slider-thumb {
    background-color: var(--color-focus-round);
    border: 2px solid var(--color-focus-round);
    -webkit-app-region: no-drag;
  }
}

.Slider-bar {
  position: absolute;
  top: calc(50% + 3px);
  height: 3px;
}

.Slider-bar--blue {
  background-color: var(--color-long-round);
}

.Slider-bar--blueGrey {
  background-color: var(--color-background-lightest);
}

.Slider-bar--green {
  background-color: var(--color-short-round);
}

.Slider-bar--red {
  background-color: var(--color-focus-round);
}
